import request from '@/utils/request'

// 查询【收房】列表
export function listContract(query) {
  return request({
    url: '/renting/contract/list',
    method: 'get',
    params: query
  })
}
// 查询【收房】列表
export function createEDocument(query) {
  return request({
    url: '/renting/contract/createEDocument',
    method: 'get',
    params: query
  })
}
// 新增【收房】
export function addContract(data) {
  return request({
    url: '/renting/contract/addSfContract',
    method: 'post',
    data: data
  })
}

// 付款单
export function getpaymentPlan(data) {
  return request({
    url: '/renting/contract/getPaymentPlanList',
    method: 'post',
    data: data
  })
}
